class CreateNotices < ActiveRecord::Migration
  def self.up
    create_table :notices do |t|
      t.string   "title"
      t.integer  "scope"
      t.integer  "user_id"
      t.text     "notice_text"
      t.datetime "date_posted"
      t.integer  "access_node_id"
      t.datetime "expiry_date"
      t.timestamps
    end
  end

  def self.down
    drop_table :notices
  end
end
